<template>
  <section class="panel">
    <h4 v-if="!!title">{{title}}</h4>
    <slot/>
  </section>
</template>

<script>
export default {
  name: 'panel',
  props: {
    title: {
      type: String,
      default: null
    }
  }
}
</script>
<style lang="scss" scoped>
.panel {
  display: block;
  > h4 {
    font-size: 34px;
    line-height: 100px;
    font-weight: 700;
    padding-left: 30px;
  }
  margin: 10px 0 20px 0;
}
</style>
